<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    var name="张三"
    console.log(name)
    let age=10
    age=name
    // 弱类型:不同类型的变量在进行赋值的时候可以直接赋值,不需要强制类型转换
    a="hello world"
    
    console.log(age)
</script>
</html>